package gui;

import javax.swing.*;
import java.awt.*;

/**
 * Created by Yaksha on 1/22/14.
 */
public class FlowPanel extends JPanel {

    public FlowPanel() {
        setLayout(new FlowLayout(FlowLayout.CENTER));
        setBackground(Color.YELLOW);

        JLabel label = new JLabel("This is a Label.");
        label.setFont(new Font("Segoe UI", Font.ITALIC, 18));
        label.setForeground(Color.RED);
        add(label);
    }

}
